package com.wondertek.poms.dao.po;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.Proxy;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * @author chenjijiang
 * @description
 */
@Data
@Entity
@Table(name = "BC_INFO")
@DynamicUpdate
@DynamicInsert
@Proxy(lazy = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BcInfo {
	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "BC_INFO_SEQ")
	@SequenceGenerator(name = "BC_INFO_SEQ", allocationSize = 1, sequenceName = "BC_INFO_SEQ")
	private Long id;          //主键ID
	@Column(name = "BC_ID")
	private Long bcId;        //播控方ID
	@Column(name = "NAME")
	private String name;      //播控方名称
	@Column(name = "MOBILE")
	private String mobile;    //播控方手机号
	@Column(name = "USER_TYPE")
	private String userType;   //用户类型
	@Column(name = "USER_ID")
	private Long userId;    //用户id
	@Column(name = "USER_NAME")
	private String userName;  //用户名
	@Column(name = "FIRST_CLASSIFY")
	private String firstClassify;  //一级分类
	@Column(name = "COPYRIGHT_CPID")
	private String copyRightCpId;   //版权归属CP
	@Column(name = "RECOMMENDATION")
	private String recommendation;  //推荐标签
	@Column(name = "CREATOR")
	private String creator;   //创建者
	@Column(name = "CREAT_TIME")
	private String creatTime;  //创建时间
}
